//
//  XKLLonginBut.m
//  GuiZiShouDuanZi
//
//  Created by xmg on 16/4/28.
//  Copyright © 2016年 xiao_kl. All rights reserved.
//

#import "XKLLonginBut.h"

@implementation XKLLonginBut

-(void)awakeFromNib{
    
    
}

-(void)layoutSubviews{
    [super layoutSubviews];
    
    self.imageView.x=0;
    self.imageView.y=0;
    self.imageView.width=self.width;
    self.imageView.height=70;
    
    self.titleLabel.x=0;
    self.titleLabel.y=self.imageView.height;
    self.titleLabel.width=self.width;
    self.titleLabel.height=self.height - self.imageView.height;
    self.titleLabel.textAlignment=NSTextAlignmentCenter;
}

@end
